package com.baomidou.ant.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2022-03-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * 用户姓名
     */
    private String userName;
    /**
     * 登录名（工号）
     */
    private String loginName;
    /**
     * 部门id
     */
    private Integer deptId;

    /**
     * 创建者
     */
    private String createBy;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;
    /**
     * 登录密码
     */
    private String password;
    /**
     * 用户类型
     */
    private String type;
    /**
     * 状态
     */
    private boolean status;
    /**
     * 作业工序,0代表无限制
     */
    private String workScope;

}
